package com.yanqu.road.server.manger.config.grandchild.talent.effect;

import com.yanqu.road.server.manger.config.grandchild.talent.entity.TalentTriggerSkillParam;
import com.yanqu.road.server.manger.config.grandchild.talent.entity.TalentTriggerSkillResult;
import com.yanqu.road.server.manger.config.grandchild.talent.entity.TalentTriggerSkillResultBuilder;

public class SkillEffect101 implements ISkillEffect {

    @Override
    public TalentTriggerSkillResult getResult(TalentTriggerSkillParam param) {
        int changeValue = param.getSkillInfo().getParamList().get(0);
        return TalentTriggerSkillResultBuilder.aTalentTriggerSkillResult()
                .setAddLv(changeValue).setAddMaxLv(changeValue).setActive(true).build();
    }

}
